package com.kaifamiao.demo.d0728;

public class Demo04 {

    public static void main(String[] args) {
        Student stu = new Student("武银霞", 20, "学习");

        Class cla = stu.getClass();

        // 类的 描述符字符串 Lcom/kaifamiao/demo/d0728/Student;
        System.out.println(cla.descriptorString());
        // 类的规范名称  com.kaifamiao.demo.d0728.Student
        System.out.println(cla.getCanonicalName());
        // com.kaifamiao.demo.d0728.Student
        System.out.println(cla.getName());
        // Student
        System.out.println(cla.getSimpleName());


    }
}
